#include <QCoreApplication>
#include <math.h>
#include <iostream>

using namespace std;


int main()

{
    int N1, N2, C;
        char str1[] = "sever";
        char str2[] = "zapad";
        char str3[] = "Jug";
        char str4[] = "Vostoc";

        int orientir = 0;

            cout << "vvedite N1 ot -1 do 2: ";

            cin >> N1 ;

            cout << "vvedite N2 ot -1 do 2: ";

            cin >> N2 ;

            C=N1+N2;
            cout << " Orientir sever stal:  ";
            switch ( C )
            {
                case 0  :

                    std::cout << str1 << "\n";
                    break;
                case 1  :

                    std::cout << str2 << "\n";
                    break;
                case 2  :
                case -2  :
                    std::cout << str3 << "\n";
                    break;
                case -1  :
                case 3  :
                    std::cout << str4;
                    break;
                default :
                    std::cout << "Nepravilnij vvod\n";
            }
            return 0;

}
